import 'package:json_annotation/json_annotation.dart';

part 'cook_model_api.g.dart';

@JsonSerializable()
class ResponseCookModelApi {
  final String? id;
  final String name;
  final String? ossUrls;
  final int sort;
  final int pubStatus;

  factory ResponseCookModelApi.fromJson(Map<String, dynamic> json) =>
      _$ResponseCookModelApiFromJson(json);

  ResponseCookModelApi({
    required this.id,
    required this.name,
    required this.ossUrls,
    required this.sort,
    required this.pubStatus,
  });
}
